package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.business.domain.excel.WeekNumExcelHandlerAdapter;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.db.ID;
import lombok.Data;

import java.util.Date;

/**
 * 缓存信息
 *
 * @author ruoyi
 */
@Data
public class BizLight implements ID<Integer>
{
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Excel(name = "灯名")
    private String lightName;

    @Excel(name = "灯号")
    private String lightNumber;

    @Excel(name = "传递等级")
    private String level;

    @Excel(name = "所属灯脉")
    private String lightPulse;

    @Excel(name = "传灯人姓名")
    private String fromName;

    @Excel(name = "传灯人学号")
    private String fromNumber;

    @Excel(name = "接灯人姓名")
    private String toName;

    @Excel(name = "接灯人学号")
    private String toNumber;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "传灯日期", dateFormat = "yyyy年M月dd日")
    private Date date;

    @Excel(name = "课程内容")
    private String courseProject;

    @Excel(name = "完成进度")
    private String progress;

    @Excel(name = "备注1")
    private String note1;

    @Excel(name = "备注2")
    private String note2;

    @Override
    public Integer getId() {
        return id;
    }

}
